diff options
| author | Fuwn <[email protected]> | 2025-02-14 01:56:58 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-02-14 01:56:58 -0800 |
| commit | dcf1f40557d4c42671406b329e55bfed7ea50c1c (patch) | |
| tree | c45fff0fc5b2cfa5197e799472e58632f091f0a2 /src/routes/tools/[tool]/+page.svelte | |
| parent | feat(notifications): initial notification update on first visit (diff) | |
| download | due.moe-dcf1f40557d4c42671406b329e55bfed7ea50c1c.tar.xz due.moe-dcf1f40557d4c42671406b329e55bfed7ea50c1c.zip | |
feat(Tools): Use generic birthdays tool template, adds NIJISANJI birthdays tool
Diffstat (limited to 'src/routes/tools/[tool]/+page.svelte')
| -rw-r--r-- | src/routes/tools/[tool]/+page.svelte | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/routes/tools/[tool]/+page.svelte b/src/routes/tools/[tool]/+page.svelte index c811cf2a..043b47fb 100644 --- a/src/routes/tools/[tool]/+page.svelte +++ b/src/routes/tools/[tool]/+page.svelte @@ -17,9 +17,9 @@ import Likes from '$lib/Tools/Likes.svelte'; import root from '$lib/Utility/root.js'; import Popup from '$lib/Layout/Popup.svelte'; - import HololiveBirthdays from '$lib/Tools/HololiveBirthdays.svelte'; import SequelCatcher from '$lib/Tools/SequelCatcher/Tool.svelte'; import Tracker from '$lib/Tools/Tracker/Tool.svelte'; + import BirthdaysTemplate from '$lib/Tools/BirthdaysTemplate.svelte'; export let data; @@ -78,7 +78,13 @@ {:else if tool === 'hayai'} <Hayai /> {:else if tool === 'hololive_birthdays'} - <HololiveBirthdays /> + <BirthdaysTemplate + remoteURL="https://raw.githubusercontent.com/Fuwn/hololist-to-json-and-ical/refs/heads/main/data/latest_hololive.json" + /> + {:else if tool === 'nijisanji_birthdays'} + <BirthdaysTemplate + remoteURL="https://raw.githubusercontent.com/Fuwn/hololist-to-json-and-ical/refs/heads/main/data/latest_nijisanji.json" + /> {:else if tool === 'sequel_catcher'} <SequelCatcher user={data.user} /> {:else if tool === 'tracker'} |